package dch.service.admin.impl;

import dch.entity.Page;
import dch.entity.Result;
import dch.persistent.admin.dao.AcommentDao;
import dch.persistent.admin.impl.AcommentDaoImpl;
import dch.service.admin.dao.AcommentService;

public class AcommentServiceImpl implements AcommentService {

	AcommentDao acommentDao=null;
	public AcommentServiceImpl(){
		acommentDao=new AcommentDaoImpl();
	}
	
	public void deleteComment(int id) {

		acommentDao.delete(id);
	}

	@Override
	public Result listCommentByPage(Page page, String keyword) {
		// TODO Auto-generated method stub
		return null;
	}
	public void close(){
		acommentDao.close();
	}
	
}
